Created
December 13, 2016 15:45
-
-
Save droopy4096/2e073b0cf237e7b69f98c2ab906da47b 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
| # puppet agent --parser=future -t --environment=future_parser | |
| Info: Retrieving pluginfacts | |
| Info: Retrieving plugin | |
| Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_reboot_required.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_update_last_success.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/apt_updates.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/package_provider.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb | |
| Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb | |
| Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::oracle_groups for xxx.some.com at /etc/puppet/environments/future_parser/modules/oracle/manifests/init.pp:3:5 on node xxx.some.com | |
| Warning: Not using cache on failed catalog | |
| Error: Could not retrieve catalog; skipping run |
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
| class oracle { | |
| include oracle_groups, oracle_users | |
| realize( Group["dba"] ) | |
| } |
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
| class oracle::oracle_groups { | |
| @group { "dba": | |
| gid => "100", | |
| ensure => "present", | |
| } | |
| } |
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
| class oracle::oracle_users { | |
| @user { "oracle": | |
| ensure => "present", | |
| uid => "100", | |
| gid => "100", | |
| groups => ["dba"], | |
| comment => "Oracle Service Account", | |
| managehome => true, | |
| home => "/home/oracle", | |
| shell => "/bin/bash" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment