Skip to content

Commit

Permalink
Removed quick attempt to populate scope_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Oct 13, 2013
1 parent 994e498 commit a67a192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skeleton/manifests/init.pp.erb
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ class <%= metadata.name %> (
if $<%= metadata.name %>::monitor_class {
class { $<%= metadata.name %>::monitor_class:
options_hash => $<%= metadata.name %>::monitor_options_hash,
scope_hash => inline_template("<%= @scope.to_hash.reject { |k,v| k.to_s =~ /${scope_hash_filter}/ } %>"),
scope_hash => {}, # TODO: Find a good way to inject class' scope
}
}

if $<%= metadata.name %>::firewall_class {
class { $<%= metadata.name %>::firewall_class:
options_hash => $<%= metadata.name %>::firewall_options_hash,
scope_hash => inline_template("<%= @scope.to_hash.reject { |k,v| k.to_s =~ /${scope_hash_filter}/ } %>"),
scope_hash => {},
}
}

Expand Down

0 comments on commit a67a192

Please sign in to comment.