Hi,
I am working on some types and providers for opennebula network management.
I have one type already finished, which creates the network itself.
Each network can have multiple address ranges.
My idea so far:
onevnet { ’testnet’:
ensure => present,
…
}
onevnet_addressrange { ‘’:
ensure
Martin
Autorequire is what you need...
Take a look at my glassfish module [1] for an example that should do what
you're after...
Cheers
Gav
[1]
https://github.com/fatmcgav/fatmcgav-glassfish/blob/develop/lib/puppet/type/jdbcresource.rb#L100-103
--
You received this message because you
Ah, re-reading your post, it looks like you're looking to enforce declaration
rather than ordering...
You are correct in that autorequire only ensures ordering, not declaration.
Unfortunately I can't help with enforcing declaration.
Gav
--
You received this message because you are subscri
Hello Karen
If your goal is to be able to run a all-in-one puppet master and have a client
connecting to the master, for testing purposes, the best way to handle this is
to use virtualbox with vagrant. I know that is sometimes easier said then done,
so I would suggest using Jerald Sheets vagran
Hello Martin:
To enforce declaration you should be able to do
onevnet_addressrange { '':
ensure => present,
require => Onevnet['testnet'],
}
Thanks
Joseph Karns
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from