Have you tried just
puppet apply -e 'f5_node { "/TestPartition2000/TestNode2000": ensure =>
present, ipaddress => "1.1.1.97" }'
Note that just because the resource can be prefetched with a correctly
defined IP address, your validate hook tells puppet to reject any
resource declaration that fails to define a should-value for ipaddress
if ensure is not 'absent' (also note that this is not necessarily saying
the same as 'ensure is present').
HTH,
Felix
On 05/13/2014 03:05 PM, Taylan Develioglu wrote:
> root@traveler:~/Downloads#
> FACTER_url='https://username:[email protected]/'; puppet
> resource f5_node '/TestPartition2000/TestNode2000' ensure=present
> ipaddress='1.2.3.5'
>
> f5_node { '/TestPartition2000/TestNode2000':
> ensure => 'present',
> connection_limit => '1',
> dynamic_ratio => '1',
> ipaddress => '1.1.1.97',
> rate_limit => '1',
> ratio => '1',
> }
>
> _________________________________________
>
> My question is, is this expected behavior ? Why is validate failing ?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/538343D3.6060501%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/d/optout.