Puppet Agent - gsettings command @ Ubuntu

asked 2016-06-23 06:09:31 -0500

AvivMalka gravatar image

updated 2016-06-23 06:15:12 -0500

Hi,

I've downloaded the following module: https://github.com/camptocamp/puppet-...

I am trying to change few gsettings setting at my OS. When I run from the console the following command: gsettings set com.canonical.Unity.Launcher favorites "['application://google-chrome.desktop']" - it works like a charm, but when I run the puppet agent it says running sucessfully but not changing anything.

Here is my nodes.pp configuration related to gsettings:

 gnome::gsettings { "idle-delay":               <-- WORKS
    schema  => "org.gnome.desktop.session",
    key     => "idle-delay",
    value   => "0",
  }
  gnome::gsettings { "lock-enabled":               <-- WORKS
    schema  => "org.gnome.desktop.screensaver",
    key     => "lock-enabled",
    value   => "false",
  }
  gnome::gsettings { "favorites":               <-- Not working :\
    schema  => "com.canonical.Unity.Launcher",
    key     => "favorites",
    value   => "['application://google-chrome.desktop']",
  }
}

Thanks for the help!

edit retag flag offensive close merge delete