- From: Ranjib Dey <
>
- To:
- Subject: [chef] Re: Place file only once per version
- Date: Thu, 15 Aug 2013 03:40:29 -0700
inside a recipe
if node.attribute?('bar')
Chef::Log.info('already run')
else
ruby_block 'set_attribute' do
block do
nod.set['foo']='bar'
end
end
file '/foo/bar' do
content "foobar"
end
end
- [chef] Place file only once per version, dcroche, 08/15/2013
- [chef] Re: Place file only once per version, Ranjib Dey, 08/15/2013
- [chef] Re: Place file only once per version, dcroche, 08/15/2013
- [chef] Re: Re: Place file only once per version, Ranjib Dey, 08/15/2013
- [chef] Re: Re: Place file only once per version, Ranjib Dey, 08/15/2013
- [chef] Re: Re: Re: Place file only once per version, Andrew Gross, 08/15/2013
- [chef] Re: Re: Re: Re: Place file only once per version, Mike, 08/15/2013
- [chef] Re: Re: Re: Re: Re: Place file only once per version, Damien Roche, 08/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Place file only once per version, Mike, 08/15/2013
- [chef] Re: Re: Re: Re: Re: Re: Re: Place file only once per version, Davis, Bruce, 08/15/2013
- [chef] Re: Place file only once per version, dcroche, 08/15/2013
- [chef] Re: Re: Place file only once per version, Russ Lavoie, 08/16/2013
Archive powered by MHonArc 2.6.16.