Re: [Puppet Users] Dynamic file content?

2017-11-19 Thread Chris Denneen
Martin, Obviously with templates being my first and last recommendation the Exec wasn’t my choice either but there are always different ways to skin a cat and not knowing why the OP hasn’t used them could be because they aren’t an option, I obviously hope not but without knowing background I wa

[Puppet Users] Dynamic file content?

2017-11-18 Thread Chris Denneen
Can you use an ERB template to construct the changes you require rather than augeas? If not another suggestion would be 1 file resource from src to temp location, which only gets updated when src changes. An Exec that is refreshonly that copies from temp to dest (which is notified by file resour

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Looks like there are few issues open like these: https://github.com/rodjek/rspec-puppet/issues/285 https://github.com/rodjek/rspec-puppet/issues/158 If anyone knows a way in Rakefile to exclude from coverage I'd be greatful. -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
hat I might be setting... should hopefully be a pretty simple test to reproduce but it's definitely not excluding those resources if that's what that merge was intended for. On Friday, June 17, 2016 at 11:37:40 AM UTC-4, garethr wrote: > > On 17 June 2016 at 15:24, Chr

Re: [Puppet Users] Code coverage for puppet resources

2016-06-17 Thread Chris Denneen
Gareth, I know this thread is old but do you have a way in the Rakefile to exclude the dependent modules? For example dependent modules that include different package resources based on OSfamily and version are something that module controls and tests I just need to make sure that the module is

[Puppet Users] Re: ssh keymaster new key notification

2013-04-10 Thread Chris Denneen
Try this: http://www.warden.pl/2012/09/05/puppet-send-an-email-to-the-client-when-a-new-key-is-generated/ On Wednesday, August 1, 2012 10:39:06 AM UTC-4, Radosław Antoniuk wrote: > > I am using the key rotation mechanism of ssh::auth, along these guidelines. > > > ssh::auth::key {[ "alice", "bob"