Created
May 22, 2015 18:44
-
-
Save ccaum/8d1907a397904d8d5513 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'puppet/node/facts' | |
require 'puppet/indirector/store_configs' | |
class Puppet::Node::Facts::Satellite < Puppet::Indirector::StoreConfigs | |
desc "Save facts to Satellite's Foreman component and the store_configs backend. | |
It does not retrieve facts from Foreman." | |
def save(request) | |
raise "satellite: #{request.info}" | |
super(request) | |
end | |
def destroy(request) | |
raise "satellite: #{request.info}" | |
super(request) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment