File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 109109 -NoProfile \
110110 -NoLogo \
111111 -NonInteractive \
112- -Command {\$ CurrentVersion = [string](facter.bat -p aio_agent_version); \
112+ -Command {\$ CurrentVersion = [string](facter.bat aio_agent_version); \
113113 if (\$ CurrentVersion -eq '${::puppet_agent::_expected_package_version} ') { \
114114 exit 0; \
115115 } \
Original file line number Diff line number Diff line change 8282 { :package_version => '5.6.7' } )
8383 }
8484 it {
85- is_expected . to contain_exec ( 'install_puppet.ps1' ) . with_unless ( /\- Command {\$ CurrentVersion = \[ string\] \( facter.bat \- p aio_agent_version\) ;/ )
85+ is_expected . to contain_exec ( 'install_puppet.ps1' ) . with_unless ( /\- Command {\$ CurrentVersion = \[ string\] \( facter.bat aio_agent_version\) ;/ )
8686 is_expected . to contain_exec ( 'install_puppet.ps1' ) . with_unless ( /\- Command.*if \( \$ CurrentVersion \- eq '5\. 6\. 7'\) { +exit 0; *} *exit 1; }\. Invoke\( \) / )
8787 }
8888 end
You can’t perform that action at this time.
0 commit comments