desc / puppet-reprepro

Handle local repositories of debian packages
21 stars 25 forks source link

Concut cannot create empty "update" config files #36

Closed mandos closed 9 years ago

mandos commented 9 years ago

puppet (3.7.3) jtopjian-reprepro (1.4.0) puppetlabs-concat (1.1.2)

I tried simple configuration:

  $basedir = '/srv/reprepro'

  class { 'reprepro':
    basedir => $basedir,
  }

  reprepro::repository { 'ubuntu':
    ensure  => present,
    basedir => $basedir,
    options => ['basedir .'],
  }

  reprepro::distribution { 'precise':
    basedir       => $basedir,
    repository    => 'ubuntu',
    origin        => 'Foobar',
    label         => 'Foobar',
    suite         => 'precise',
    architectures => 'amd64',
    components    => 'main contrib non-free',
    description   => 'Package repository for local site maintenance',
    sign_with     => 'XXXX',
    not_automatic => 'No',
  } 

and got messages: ==> default: Notice: /Stage[main]/Main/Node[default]/Reprepro::Repository[ubuntu]/Concat[/srv/reprepro/ubuntu/conf/updates]/Exec[concat_/srv/reprepro/ubuntu/conf/updates]/returns: The fragments directory is empty, cowardly refusing to make empty config files ==> default: Error: /var/lib/puppet/concat/bin/concatfragments.sh -o "/var/lib/puppet/concat/_srv_reprepro_ubuntu_conf_updates/fragments.concat.out" -d "/var/lib/puppet/concat/_srv_reprepro_ubuntu_conf_updates" returned 1 instead of one of [0]