Displaying 1 result from an estimated 1 matches for "mr_servic".
Did you mean:
mr_service
2006 Nov 16
7
Negating or removing classes
...ated to the service>
}
}
class sshkey_service {
append_if_no_such_line { mkkey:
file => "authorized_keys",
line => $key,
require => File["authorized_keys"]
}
<other stuff related to the service >
}
node mr_no_service { }
node mr_service { include sshkey_service }
(The components are from the cookbook.)
Unfortunately since nodes seem to be linked to classes last in the
parsing (from my reading of prior posts) the replace_line() is always
run. I''m open to alternate syntax suggestions. I saw a proposal about
the iptables...