Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

" Installing and configuring ULTRAVNC" through puppet resulted error

$
0
0
I have simple puppet program which 1) Install the "UltraVNC" from "chocolatey" repo 2) Move the config file to "C:\Program Files\uvnc bvba\UltraVnc" 3) Then start the service When I ran the puppet program it resulted in few errors which I have mentioned below. " Info: Applying configuration version '48ad96db3a314f99325dde5f328dab1e54c98a00' Notice: /Stage[main]/Nrhlteamcity::Ultravnc/File[C:\Program Files\uvnc bvba\UltraVnc]/ensure: current_value absent, shou ld be file (noop) Info: /Stage[main]/Nrhlteamcity::Ultravnc/File[C:\Program Files\uvnc bvba\UltraVnc]: Scheduling refresh of Service[uvnc_ service] Notice: /Stage[main]/Nrhlteamcity::Ultravnc/Service[uvnc_service]/ensure: current_value stopped, should be running (noop ) Info: /Stage[main]/Nrhlteamcity::Ultravnc/Service[uvnc_service]: Unscheduling refresh on Service[uvnc_service] Notice: Class[Nrhlteamcity::Ultravnc]: Would have triggered 'refresh' from 2 events Notice: Stage[main]: Would have triggered 'refresh' from 1 events Notice: Applied catalog in 10.39 seconds PS C:\Windows\system32> puppet agent -t Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Facter: error while resolving custom facts in C:/ProgramData/PuppetLabs/puppet/cache/lib\facter\salts.rb: undefin ed method `split' for nil:NilClass Error: Facter: error while resolving custom facts in C:/ProgramData/PuppetLabs/puppet/cache/lib/facter\salts.rb: undefin ed method `split' for nil:NilClass Info: Caching catalog for erp-udc-build06.hautelook.local Info: Applying configuration version '48ad96db3a314f99325dde5f328dab1e54c98a00' Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - C:/Program Files/uvnc bvba/UltraVnc2017 0508-5836-rk38fl.lock at /etc/puppetlabs/code/environments/production/site/nrhlteamcity/manifests/ultravnc.pp:13 Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - C:/Program Files/uvnc bvba/UltraVnc2017 0508-5836-rk38fl.lock at /etc/puppetlabs/code/environments/production/site/nrhlteamcity/manifests/ultravnc.pp:13 Wrapped exception: No such file or directory @ dir_s_mkdir - C:/Program Files/uvnc bvba/UltraVnc20170508-5836-rk38fl.lock Error: /Stage[main]/Nrhlteamcity::Ultravnc/File[C:\Program Files\uvnc bvba\UltraVnc]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - C:/Program Files/uvnc bvba/UltraVnc201 70508-5836-rk38fl.lock at /etc/puppetlabs/code/environments/production/site/nrhlteamcity/manifests/ultravnc.pp:13 Notice: /Stage[main]/Nrhlteamcity::Ultravnc/Service[uvnc_service]: Dependency File[C:\Program Files\uvnc bvba\UltraVnc] has failures: true Warning: /Stage[main]/Nrhlteamcity::Ultravnc/Service[uvnc_service]: Skipping because of failed dependencies Notice: Applied catalog in 5.58 seconds" And my puppet program looks like "class nrhlteamcity::ultravnc { if $::hostname =~ /^erp-(udc|aws)-build(06|07|08)/ { package { 'ultravnc': ensure => latest, provider => 'chocolatey', } file { 'C:\Program Files\uvnc bvba\UltraVnc': ensure => 'present', source => 'puppet:///modules/nrhlteamcity/UltraVNC.ini', } service { 'uvnc_service': ensure => 'running', } Package['ultravnc'] -> File['C:\Program Files\uvnc bvba\UltraVnc'] ~> Service['uvnc_service'] }" I think I have provided the enough info here to trouble shoot the issue.

Viewing all articles
Browse latest Browse all 6104

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>