Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3382

Error: Evaluation Error: Error while evaluating a Function Call, 387: unexpected token at

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.7.1
    • Fix Version/s: None
    • Component/s: Catalog Application
    • Labels:
      None
    • Environment:

      Windows 2008R2

    • Template:

      Description

      case $::operatingsystem {
       
        redhat,centos,ubuntu: { hiera_include('classes') }
       
        windows: {
          $shared_drive = 'M:'
          File { source_permissions => ignore }
          Exec { path => [ 'C:\Windows\sysnative\WindowsPowerShell\v1.0','C:\Windows\System32\inetsrv','C:\Windows\sysnative','C:\Windows\Microsoft.NET\Framework\v4.0.30319','C:\Windows\System32\wbem', 'C:\Temp' ] }
          hiera_include('classes')
        }
        default : { fail('Unrecognized operating system for Puppet') }
      }
      

      ==> default: Running provisioner: shell...
          default: Running: c:\tmp\vagrant-shell.ps1
      ==> default: Running provisioner: puppet...
      ==> default: Running Puppet with site.dev.pp...
      ==> default: Debug: Runtime environment: puppet_version=3.7.1, ruby_version=1.9.3, run_mode=user, default_encoding=IBM437
      ==> default: Debug: Loading external facts from C:/ProgramData/PuppetLabs/puppet/var/facts.d
      ==> default: 
      ==> default: Info: Loading facts
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/admin/lib/facter/site_minder.rb
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/admin/lib/facter/user_name.rb
      ==> default: Info: Loading facts
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/puppetlabs-stdlib/lib/facter/facter_dot_d.rb
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/puppetlabs-stdlib/lib/facter/pe_version.rb
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/puppetlabs-stdlib/lib/facter/puppet_vardir.rb
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/puppetlabs-stdlib/lib/facter/root_home.rb
      ==> default: Info: Loading facts
      ==> default: Debug: Loading facts from C:/tmp/vagrant-puppet-3/modules-0/teamcityagent/lib/facter/short_host.rb
      ==> default: Debug: hiera(): Hiera JSON backend starting
      ==> default: 
      ==> default: Debug: hiera(): Looking up classes in JSON backend
      ==> default: Debug: hiera(): Looking for data source windows
      ==> default: Debug: hiera(): Looking for data source node/cm/vagrant-2008r2.localdomain
      ==> default: Error: Evaluation Error: Error while evaluating a Function Call, 387: unexpected token at '}
      ==> default: ' at C:/tmp/vagrant-puppet-3/manifests/site.dev.pp:9:5 on node vagrant-2008r2.localdomain
      ==> default: Error: Evaluation Error: Error while evaluating a Function Call, 387: unexpected token at '}
      ==> default: ' at C:/tmp/vagrant-puppet-3/manifests/site.dev.pp:9:5 on node vagrant-2008r2.localdomain
      translation missing: en.vagrant_winrm.errors.ssh_bad_exit_status_muted
      

        Attachments

          Activity

            People

            • Assignee:
              lmayorga1980 Louis Mayorga
              Reporter:
              lmayorga1980 Louis Mayorga
              QA Contact:
              Eric Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support