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

File type ignore can't convert Fixnum into String

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.3.0, PUP 3.4.2, PUP 3.4.3
    • Fix Version/s: PUP 3.5.0
    • Component/s: Networking
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-05 to 2014-3-12, Week 2014-3-12 to 2014-3-19

      Description

      The following worked in Puppet 3.1 but throws errors in Puppet 3.4.x

          file { $::epiphany::cluster_dir:
            ensure  => directory,
            mode    => $::epiphany::config_file_mode,
            owner   => $::epiphany::config_file_owner,
            group   => $::epiphany::config_file_group,
            require => Exec["${::epiphany::cluster_dir}/registry/db"],
            source  => 'puppet:///modules/epiphany/cluster',
            recurse => true,
            ignore  => ['.snapshot', '0', 'k', 'z'],
          }
      

      Error thrown by Puppet:

      puppet-agent[29514]: (/Stage[main]/Epiphany::Install/File[/srv/epiphany/cluster]) Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: can't convert Fixnum into String

      When removing '0' from the array, no errors are thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hdeheer Hubert de Heer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support