Skip to content
Snippets Groups Projects
Select Git revision
  • 301a23b1e02e8fd866aeaa34b0fc13c82d41685a
  • master default protected
  • rednatco-v2
  • rednatco
  • test
  • ntc-tube-uniform-color
  • ntc-tube-missing-atoms
  • restore-vertex-array-per-program
  • watlas2
  • dnatco_new
  • cleanup-old-nodejs
  • webmmb
  • fix_auth_seq_id
  • update_deps
  • ext_dev
  • ntc_balls
  • nci-2
  • plugin
  • bugfix-0.4.5
  • nci
  • servers
  • v0.5.0-dev.1
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.12
  • v0.3.11
  • v0.3.10
  • v0.3.9
  • v0.3.8
  • v0.3.7
  • v0.3.6
  • v0.3.5
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
41 results

index.ts

Blame
  • ctx.yaml 2.08 KiB
    #cloud-config
    
    merge_type:
     - name: list
       settings: [append]
     - name: dict
       settings: [recurse_array]
    
    packages:
      - default-jre-headless
      - git
      - gnupg
      - librarian-puppet
      - puppet
      - rsync
    
    write_files:
      - path: /etc/puppet/code/Puppetfile
        permissions: '0644'
        content: |
          #!/usr/bin/env ruby
          #^syntax detection
          forge "https://forgeapi.puppetlabs.com"
          mod 'cesnet-kerberos',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-kerberos/'
          mod 'cesnet-site_hadoop',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-site_hadoop/'
          mod 'cesnet-hadoop',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-hadoop/'
          mod 'cesnet-hadoop_lib',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-hadoop_lib/'
          mod 'cesnet-hbase',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-hbase/'
          mod 'cesnet-hue',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-hue/'
          mod 'cesnet-hive',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-hive/'
          mod 'cesnet-impala',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-impala/'
          mod 'cesnet-oozie',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-oozie/'
          mod 'cesnet-pig',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-pig/'
          mod 'cesnet-spark',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-spark/'
          mod 'cesnet-zookeeper',
            :git => 'https://github.com/MetaCenterCloudPuppet/cesnet-zookeeper/'
          # compatibility with puppet <= 4.x
          mod 'puppetlabs-apt', '<7.7.1'
          mod 'puppetlabs-mysql', '<10.10.0'
    
    runcmd:
      # workaround for bigtop-utils jsvc
      - d=/usr/lib/jvm/default-java/lib; if test -e "$d" -a ! -e "$d/amd64"; then ln -fsv . "$d/amd64"; fi
      - cd /etc/puppet/code && HOME=/root librarian-puppet install --verbose
      - mkdir /data 2>/dev/null || true
      - egrep '^\s*GSSAPIAuthentication\s+yes' /etc/ssh/sshd_config || echo 'GSSAPIAuthentication yes' >> /etc/ssh/sshd_config
      - service ssh reload