Skip to content

Commit

Permalink
First quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Oct 13, 2013
1 parent f2a0a3a commit 994e498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ meant to be better templates for use with the puppet module tool.

As we don't want to have our .git files and this README in our skeleton, we export it like this:

git clone https://github.com/garethr/puppet-module-skeleton
git clone https://github.com/stdmod/puppet-module-skeleton
cd puppet-module-skeleton
find skeleton -type f | git checkout-index --stdin --force --prefix="$HOME/.puppet/var/puppet-module/" --

Expand Down
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 => inline_template("<%= @scope.to_hash.reject { |k,v| k.to_s =~ /${scope_hash_filter}/ } %>"),
}
}

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 => inline_template("<%= @scope.to_hash.reject { |k,v| k.to_s =~ /${scope_hash_filter}/ } %>"),
}
}

Expand Down

0 comments on commit 994e498

Please sign in to comment.