# Continued 

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/functions/function.rb:45:in
 
`call'

     # :2:in `block in call_function'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/runtime3_support.rb:313:in
 
`eval'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/runtime3_support.rb:313:in
 
`block in call_function'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler/around_profiler.rb:58:in
 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler.rb:51:in 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/runtime3_support.rb:311:in
 
`call_function'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/evaluator_impl.rb:941:in
 
`call_function_with_block'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/evaluator_impl.rb:910:in
 
`eval_CallNamedFunctionExpression'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/visitor.rb:69:in 
`visit_this_1'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/evaluator_impl.rb:82:in
 
`evaluate'

     # :in `stack'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/puppet_stack.rb:30:in 
`eval'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/puppet_stack.rb:30:in 
`stack'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/evaluator_impl.rb:715:in
 
`eval_Program'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/visitor.rb:69:in 
`visit_this_1'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/evaluator/evaluator_impl.rb:82:in
 
`evaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/pops/parser/evaluating_parser.rb:63:in
 
`evaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/ast/pops_bridge.rb:132:in
 
`evaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/ast.rb:31:in 
`safeevaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/resource/type.rb:184:in 
`evaluate_code'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/resource.rb:81:in 
`block in evaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler/around_profiler.rb:58:in
 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler.rb:51:in 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/resource.rb:73:in 
`evaluate'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/compiler.rb:635:in 
`evaluate_main'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/compiler.rb:174:in 
`block (2 levels) in compile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler/around_profiler.rb:58:in
 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler.rb:51:in 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/compiler.rb:174:in 
`block in compile'

     # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/context.rb:65:in 
`override'

     # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet.rb:306:in 
`override'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/compiler.rb:162:in 
`compile'

     # 
/usr/local/share/gems/gems/hiera-puppet-helper-1.0.1/lib/hiera-puppet-helper/puppet.rb:16:in
 
`compile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/parser/compiler.rb:33:in 
`compile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/indirector/catalog/compiler.rb:268:in
 
`block (2 levels) in compile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler/around_profiler.rb:58:in
 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util/profiler.rb:51:in 
`profile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/indirector/catalog/compiler.rb:266:in
 
`block in compile'

     # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util.rb:224:in 
`block in benchmark'

     # /usr/share/ruby/benchmark.rb:296:in `realtime'

     # /usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/util.rb:223:in 
`benchmark'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/indirector/catalog/compiler.rb:264:in
 
`compile'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/indirector/catalog/compiler.rb:55:in
 
`find'

     # 
/usr/local/share/gems/gems/puppet-4.10.4/lib/puppet/indirector/indirection.rb:194:in
 
`find'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/adapters.rb:83:in
 
`catalog'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/adapters.rb:161:in
 
`catalog'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:354:in
 
`build_catalog_without_cache'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:375:in
 
`block in build_catalog'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/cache.rb:17:in 
`call'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/cache.rb:17:in 
`get'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:374:in
 
`build_catalog'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:75:in 
`block in load_catalogue'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:319:in
 
`with_vardir'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:69:in 
`load_catalogue'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/example/class_example_group.rb:7:in
 
`catalogue'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/support.rb:10:in 
`block in subject'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/matchers/create_generic.rb:84:in
 
`call'

     # 
/usr/local/share/gems/gems/rspec-puppet-2.6.7/lib/rspec-puppet/matchers/create_generic.rb:84:in
 
`matches?'

     # ./spec/classes/init_spec.rb:13:in `block (2 levels) in <top 
(required)>'

 

Finished in 0.38469 seconds (files took 1.91 seconds to load)

2 examples, 2 failures

 

Failed examples:

 

rspec ./spec/classes/init_spec.rb:12 # ssh::sshd_config should contain 
File[sshdconfig]

rspec ./spec/classes/init_spec.rb:13 # ssh::sshd_config should contain 
Service[sshd]

 

/usr/bin/ruby 
-I/usr/local/share/gems/gems/rspec-core-3.6.0/lib:/usr/local/share/gems/gems/rspec-support-3.6.0/lib
 
/usr/local/share/gems/gems/rspec-core-3.6.0/exe/rspec --pattern 
spec/\{aliases,classes,defines,unit,functions,hosts,integration,type_aliases,types\}/\*\*/\*_spec.rb
 
--color failed

 

 

*----------------------------------------------*

*For puppet apply: **I added 3 blank lines to end of /etc/ssh/sshd_config 
to force an update. *

# cat /etc/redhat-release

CentOS Linux release 7.3.1611 (Core)

 

# /opt/puppetlabs/bin/puppet apply --environment sshtesting -tv --noop 
manifests/init.pp -e "include ssh::sshd_config"

Info: Loading facts

Info: Loading facts

Info: Loading facts

Info: Loading facts

Info: Loading facts

Info: Loading facts

 

Notice: Compiled catalog for dlistmrfpup02.cbs.ad.cbs.net in environment 
aspera in 0.16 seconds

Info: Applying configuration version '1503063783'

Notice: /Stage[main]/Ssh::Sshd_config/File[sshdconfig]/content:

--- /etc/ssh/sshd_config        2017-08-18 09:39:43.684192737 -0400

+++ /tmp/puppet-file20170818-1934-9a0w0g        2017-08-18 
09:43:03.902131458 -0400

@@ -160,6 +160,3 @@

 #      AllowTcpForwarding no

 #      PermitTTY no

 #      ForceCommand cvs server

-

-

-

 

Notice: /Stage[main]/Ssh::Sshd_config/File[sshdconfig]/content: 
current_value {md5}0744515e169813a221830e894399bfb0, should be 
{md5}568f923999a863de160ae981aa8db81a (noop)

Info: /Stage[main]/Ssh::Sshd_config/File[sshdconfig]: Scheduling refresh of 
Service[sshd]

Notice: /Stage[main]/Ssh::Sshd_config/Service[sshd]: Would have triggered 
'refresh' from 1 events

Notice: Class[Ssh::Sshd_config]: Would have triggered 'refresh' from 2 
events

Notice: Stage[main]: Would have triggered 'refresh' from 1 events

Notice: Applied catalog in 0.27 seconds

 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/36578d19-3075-4c22-b1c8-e75848ad6192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to