I've read the documentation over at:
http://docs.puppetlabs.com/guides/language_guide.html
I cannot figure out how to include a defined resource. I've tired:
include User::Admin['beamin']
I get:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: undefined method `downcase
I have a define that looks like this:
define user::sys_user($fullname, $uid, $groups, $shell='/bin/bash',
$authkey, $authkey_type=rsa) {
$username = "sys_${name}"
group { $username:
gid => $uid,
}
user { $username:
require => Group[
That is exactly what I wanted. Thank you Steve!
On Nov 28, 12:18 pm, Steve Traylen wrote:
> On Mon, Nov 28, 2011 at 6:02 AM, beamin melbin wrote:
> > I am currently using Puppet's firewall module:
>
> >http://forge.puppetlabs.com/puppetlabs/firewall
>
> >
I am currently using Puppet's firewall module:
http://forge.puppetlabs.com/puppetlabs/firewall
I am trying to have Puppet flush iptables before it applies firewall
rules. I tried the following:
exec { 'clear-firewall':
command => '/sbin/iptables -F',
refreshonly => true,
}
Firew