diff options
Diffstat (limited to 'lib/puppet/config_stores/rest.rb')
-rw-r--r-- | lib/puppet/config_stores/rest.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/puppet/config_stores/rest.rb b/lib/puppet/config_stores/rest.rb new file mode 100644 index 000000000..4f65f399b --- /dev/null +++ b/lib/puppet/config_stores/rest.rb @@ -0,0 +1,19 @@ +Puppet::Util::ConfigStore.newstore(:rest) do + desc "Store client configurations via a REST web service." + + # Get a client's config. (called in collector?) + def get(client, config) + # Assuming this come in as Puppet::Parser objects + # we may need way to choose which transport data type we use. + end + + def initialize + # need config vars like puppetstore host, port, etc. + end + + # Store config to the web service. (called in getconfig?) + def store(client, config) + # Probably store as yaml... + end + +end |