On Fri, Apr 5, 2013 at 2:40 AM, Venky Acharya wrote:
> Where can i find a list of REST API's for puppet opensource?
>
We don't really have any of the puppet calls documented. You might
find references to say that they are there, but there isn't any
documentation about formats or how to use them.
In issue #19514 (https://projects.puppetlabs.com/issues/19514) there
is some discussion about adding some trusted information to the puppet
manifests. Chris Spence has provided a suggested solution, but he
wasn't sure about it. It adds a topscope variable called
"servernodename" that contains the n
Alright,
on a very similar theme...
Puppet Saves Christmas
Puppet's Magic Cookbook
Follow that Puppet
Puppet in Wonderland
P is For Puppet
Back on topic, the way I see the language evolving is that there is one
released set of language compliance levels, and one future, experimental
option to t
A new release of the puppetlabs/puppetdb module is now available on the Forge:
http://forge.puppetlabs.com/puppetlabs/puppetdb/1.2.0
This release is primarily about providing full configuration file
support in the module for PuppetDB 1.2.0. (The alignment of version is
a coincidence I assure you
Are you referring to Puppet dashboard here, or Puppet server itself? It
looks like you've listed a bit of both.
On Fri, Apr 5, 2013 at 2:40 AM, Venky Acharya wrote:
> Where can i find a list of REST API's for puppet opensource?
>
> I am looking for following set of operations to be performed th
Where can i find a list of REST API's for puppet opensource?
I am looking for following set of operations to be performed through a REST
API call:
1. Add host to group
2. Add parameters to host
3. Add parameters to host group
4. Create host group
5. Delete host group
6. Get all groups
7. Get all
Nan
Ah, ok.. Haven't used puppet resource as yet, however think it makes sense
to try and support it where possible...
Will see what I can work up with your code :)
Cheers
Gavin
On Friday, 5 April 2013 16:43:08 UTC+1, Nan Liu wrote:
>
> On Fri, Apr 5, 2013 at 3:33 AM, fatmcgav >wrote:
>
>>
On Fri, Apr 5, 2013 at 3:33 AM, fatmcgav wrote:
> I was looking at doing all the work in the 'flush' method, however have
> just been doing some more testing and think I've come up with an
> alternative...
>
> Can run the user creation in the 'create' def, and then clear
> @property_hash so that
Excellent.
On Apr 5, 2013, at 12:33 PM, fatmcgav wrote:
> I was looking at doing all the work in the 'flush' method, however have just
> been doing some more testing and think I've come up with an alternative...
>
> Can run the user creation in the 'create' def, and then clear @property_hash
I was looking at doing all the work in the 'flush' method, however have
just been doing some more testing and think I've come up with an
alternative...
Can run the user creation in the 'create' def, and then clear
@property_hash so that it doesn't get invoked in 'flush'.
'Flush' then calls the use
Ah. You should copy the model in the user/group providers: The providers have
a 'create' method that uses useradd, for instance, and then a 'uid=' method
that uses usermod.
Does that help? Are you doing all of the actual work in the 'flush' method,
and that's where you need to differentiate?
Luke
A user create requires a different API call to a modify...
(useradmin-user-add vs useradmin-user-modify).
So I could leave the creation to 'create', however how do I then trigger a
modify in flush when required?
Or should I treat any call into flush with a :present ensure as a modify?
Though
Can you explain why you need to know the difference?
The framework should handle that for you.
On Apr 4, 2013, at 2:48 PM, Gavin Williams wrote:
> Indeed... :)
>
> Ok, next question for you/all...
>
> How could I differentiate between what is a resource creation and a resource
> modificati
13 matches
Mail list logo