example42 / puppet-tp

Tiny Puppet - The Universal Installer
http://tiny-puppet.com
Apache License 2.0
68 stars 21 forks source link

Error: (<unknown>): found unexpected end of stream while scanning a quoted scalar at line 6 column 14 at /etc/puppet/modules/tp/manifests/install3.pp:140 #34

Closed major0 closed 7 years ago

major0 commented 7 years ago

Expected Behavior

Actual Behavior

Debug: importing '/etc/puppet/modules/tp/manifests/conf3.pp' in environment testing
Debug: Automatically imported tp::conf3 from tp/conf3 into testing
Warning: Not collecting exported resources without storeconfigs
Debug: Evicting cache entry for environment 'testing'
Debug: Resource package[puppet] was not determined to be defined
Debug: Create new resource package[puppet] with params {"ensure"=>"present"}
Debug: Resource service[puppet] was not determined to be defined
Debug: Create new resource service[puppet] with params {"ensure"=>"running", "enable"=>true, "require"=>Package[puppet]{:name=>"puppet"}}
Debug: Evicting cache entry for environment 'testing'
Debug: Caching environment 'testing' (ttl = 0 sec) 
Debug: Resource package[nginx] was not determined to be defined
Debug: Create new resource package[nginx] with params {"ensure"=>"present"}
Debug: Resource service[nginx] was not determined to be defined
Debug: Create new resource service[nginx] with params {"ensure"=>"running", "enable"=>true, "require"=>Package[nginx]{:name=>"nginx"}}
Debug: Evicting cache entry for environment 'testing'
Debug: Caching environment 'testing' (ttl = 0 sec) 
Debug: Resource package[rsync] was not determined to be defined
Debug: Create new resource package[rsync] with params {"ensure"=>"present"}
Debug: Resource service[rsync] was not determined to be defined
Debug: Create new resource service[rsync] with params {"ensure"=>"running", "enable"=>true, "require"=>Package[rsync]{:name=>"rsync"}}
Debug: Evicting cache entry for environment 'testing'
Debug: Caching environment 'testing' (ttl = 0 sec) 
Error: (<unknown>): found unexpected end of stream while scanning a quoted scalar at line 6 column 14 at /etc/puppet/modules/tp/manifests/install3.pp:140 on node puppet.domain.com
Error: (<unknown>): found unexpected end of stream while scanning a quoted scalar at line 6 column 14 at /etc/puppet/modules/tp/manifests/install3.pp:140 on node puppet.domain.com
Error: (<unknown>): found unexpected end of stream while scanning a quoted scalar at line 6 column 14 at /etc/puppet/modules/tp/manifests/install3.pp:140 on node puppet.domain.com

Steps to Reproduce the Problem

  1. Used tp::install3 to attempt to install puppet, nginx, rsync on a puppetmaster node.
  2. Ran puppet agent -t on the puppetmaster.
  3. Received the above error.

Specifications

OS: CentOS 7.2.1511 Architecture: x86_64 Puppet Version: 3.8.7 1.el7 (puppetlabs-products repo) TinyPuppet Version: 1.1.0 Hiera Data: Unknown Ruby Version: 2.0.0p598

major0 commented 7 years ago

Found it, this is bad quoting in tinydata/data/puppetserver/osfamily/RedHat.yaml:

    key_url: 'http://yum.puppetlabs.com/RPM-GPG-KEY-puppet
major0 commented 7 years ago

Similar quoting error in tinydata/data/puppet-agent

alvagante commented 7 years ago

Great, thanks, I've just updated the tinydata. Feel free to make PRs for tinydata, they are wildly welcomed.