Ask Your Question
0

How to manage gsettings with puppet?

asked 2014-09-08 17:03:20 -0500

beeg gravatar image

I'm new to puppet, and am struggling to figure out a way to manage gsettings with puppet. I've looked far and wide, and the best I can come up with is this module: https://github.com/camptocamp/puppet-... , however, when I use its example code in my site.pp, the agents return with the following error:

Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type gnome::gsettings at /etc/puppet/manifests/site.pp:24

I suspect that the issue is that I don't know how to install the module (I couldn't find any instructions). So I just did a git clone of the project and dropped it into its own folder in /etc/puppet/modules/puppet-gnome.

Any tips on what I might be doing wrong or an easier way to manage gsettings via puppet?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-08 21:29:44 -0500

lavaman gravatar image

It would need to be in a folder named /etc/puppet/modules/gnome, not puppet-gnome. puppet-foo is a common github naming scheme for puppet modules, and most, if not all, of them need the puppet- removed.

You should also look into the module/class naming scheme to help you deal with issues like this in the future:

https://docs.puppetlabs.com/puppet/la...

edit flag offensive delete link more

Comments

Thanks... that was just the tip I needed.

beeg gravatar imagebeeg ( 2014-09-10 10:34:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-08 17:03:20 -0500

Seen: 370 times

Last updated: Sep 08 '14