search for: property_hash

Displaying 3 results from an estimated 3 matches for "property_hash".

2013 Apr 05
2
Flush provider - Differentiating between new resource and modification?
Morning all I''m working on converting some of my NetApp providers to prefetch/flush style to try and optimize performance. I''ve hit an issue on my Netapp_user provider, around handling resource creation versus resource modification? What''s the easiest way to differentiate? Current code is here:
2012 Oct 29
0
help with creating self.instances for puppetlabs-lvm providers
...er types so I must be missing something in my code. Should look like this: filesystem { ''/dev/sda1'': ensure => ''present'', options => "-b 4096", fs_type => "ext4", } One other thing I found is that its necessary to reference @property_hash in order for puppet resource logical_volume to work since the default @resource is missing certain keys. rname ||= @resource[:name] || @property_hash[:name] Not sure why I need to reference @property_hash? Also, How do I add tests for puppet resource? Any examples? BTW, I am adding this co...
2008 May 20
13
puppet thinks yum fails when it doesn't
Hi all, Not sure if this is a bug in puppet, yum, or just something I''m doing wrong. I''m trying to use puppet to update a package to a particular version and exec a command when that update is applied. The problem is, puppet calls yum which successfully updates the package, but puppet then thinks the update has failed and hence doesn''t trigger the exec. Next