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 openstacklib::params { | |
| $servicedefault = '<SERVICE DEFAULT>' | |
| } | |
| ## | |
| # | |
| class nova::params inherits ::openstacklib::params { |
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
| ## | |
| # | |
| define foo( | |
| $a, | |
| $b = "a is ${a}", | |
| ) { | |
| notify { $b: } | |
| } |
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
| [cody@pe-mom1-prod ~]$ puppet job run --environment test_application --concurrency 1 "Openstack[slice-pdx1-test]" | |
| Starting deployment of Openstack[slice-pdx1-test] ... | |
| +-------------------+----------------------------+ | |
| | Job ID | 27 | | |
| | Environment | test_application | | |
| | Target | Openstack[slice-pdx1-test] | | |
| | Concurrency Limit | 1 | | |
| | Nodes | 9 | | |
| +-------------------+----------------------------+ |
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
| plan ntp( | |
| TargetSpec $nodes | |
| ) { | |
| apply($nodes, _catch_errors => true, _run_as => root) { | |
| class { 'ntp': | |
| servers => [ 'ntp1.example.com', 'ntp2.example.com' ], | |
| } | |
| } |
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
| # /etc/puppetlabs/code/environments/production/modules/mymodule/lib/puppet/functions/mymodule/upcase.rb | |
| require 'cassandra' | |
| require 'json' | |
| require 'yaml' | |
| Puppet::Functions.create_function(:'puppet_metadata_service::data_hash') do | |
| dispatch :hiera_data do | |
| param 'Hash', :options | |
| param 'Puppet::LookupContext', :context |
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
| [root@pe-compiler-0bdfdb-0 production]# FACTER_fqdn=testnode1.example.com puppet apply -e 'class test($value3, $value2) { notice($value3, $value2) }; include test; notice(lookup(test::value1))' --debug --trace | |
| --- | |
| Debug: Automatic Parameter Lookup of 'test::value3' | |
| Searching for "lookup_options" | |
| Global Data Provider (hiera configuration version 5) | |
| Using configuration "/etc/puppetlabs/puppet/hiera.yaml" | |
| Hierarchy entry "Classifier Configuration Data" | |
| No such key: "lookup_options" | |
| Environment Data Provider (hiera configuration version 5) |
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
| # /etc/puppetlabs/code/environments/production/modules/mymodule/lib/puppet/functions/mymodule/upcase.rb | |
| require 'cassandra' | |
| require 'json' | |
| require 'yaml' | |
| class MetadataServiceSessionAdapter < Puppet::Pops::Adaptable::Adapter | |
| attr_accessor :session | |
| end | |
| Puppet::Functions.create_function(:'puppet_metadata_service::data_hash', Puppet::Functions::InternalFunction) do |
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
| default 10:24:15.630332-0700 Cisco AnyConnect Secure Mobility Client Function: launchRemoteCSDStub File: ../../vpn/Api/ConnectMgr.cpp Line: 9632 Downloading CSD update. | |
| default 10:24:15.630389-0700 Cisco AnyConnect Secure Mobility Client Function: getCSDStub File: ../../vpn/Api/ConnectIfc.cpp Line: 1751 CSD Stub located | |
| error 10:24:15.802284-0700 Cisco AnyConnect Secure Mobility Client Function: SendRequest File: ../../vpn/Api/CTransportCurlStatic.cpp Line: 1924 CURL error: 22 = The requested URL returned error: 404 Not Found | |
| error 10:24:15.802397-0700 Cisco AnyConnect Secure Mobility Client Function: SendRequest File: ../../vpn/Api/CTransportCurlStatic.cpp Line: 2010 Invoked Function: curl_easy_perform Return Code: -29949899 (0xFE370035) Description: CTRANSPORT_ERROR_HTTP_RETURNED_ERROR:The HTTP server returned an error code (>= 400) HTTP status code received 404 | |
| error 10:24:15.802440-0700 Cisco AnyConnect Secure Mobility Client Function: sendRequest File: ../../vpn/Api/ConnectIfc.cpp Line: 3352 Invoked Func |
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
| powerstore_nas_server { 'string': | |
| backup_i_pv4_interface_id => 'string', | |
| backup_i_pv6_interface_id => 'string', | |
| current_node_id => 'string', | |
| current_unix_directory_service => 'None', | |
| default_unix_user => 'string', | |
| default_windows_user => 'string', | |
| description => 'string', | |
| is_auto_user_mapping_enabled => false, | |
| is_username_translation_enabled => false, |
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
| { | |
| "swagger" : "2.0", | |
| "info" : { | |
| "title" : "PowerStore REST API", | |
| "description" : "Storage cluster REST API definition.", | |
| "version" : "1.0", | |
| "license" : { | |
| "name" : "End User License Agreement", | |
| "url" : "/locales/en-US/eula.txt" | |
| } |