Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Fixing templates to refer to variables properly. #46

Closed
wants to merge 1 commit into from

Commits on Apr 20, 2014

  1. Fixing templates to refer to variables properly.

    While installing katello 'community' nighty today I noticed a few errors
    related to how certain variables were being refered to in a couple of
    templates:
    
    ```bash
    Variable access via 'fqdn' is deprecated. Use '@fqdn' instead.
    template[/usr/share/katello-installer/modules/certs/templates/rhsm-katello-reconfigure.erb]:19
    Variable access via 'fqdn' is deprecated. Use '@fqdn' instead.
    template[/usr/share/katello-installer/modules/pulp/templates/etc/pulp/server.conf.erb]:40
    Variable access via 'processorcount' is deprecated. Use
    '@processorcount' instead.
    template[/usr/share/katello-installer/modules/pulp/templates/etc/pulp/server.conf.erb]:282
    ```
    
    This pull request should fix these variables but it does not, however,
    solve the last of the issues:
    
    ```bash
    ruby 1.8.7 (2011-06-30 patchlevel 352) sh: line 1:  3366 Done
    echo '$kafo_config_file="/etc/katello-installer/katello_installer.yaml"
    $kafo_answer_file="/tmp/kafo_answers_983597.yaml"  include
    kafo_configure'
    
    3367 Aborted                 (core dumped) |
    RUBYLIB=/usr/lib/ruby/gems/1.8/gems/kafo-0.5.3/lib/kafo/../..//modules:
    puppet apply --verbose --debug --trace --color=false --show_diff
    --detailed-exitcodes --modulepath
    /usr/share/katello-installer/modules:/usr/lib/ruby/gems/1.8/gems/kafo-0.5.3/modules
    
    Puppet has finished, bye!
    ```
    omaciel committed Apr 20, 2014
    Copy the full SHA
    3cce1c3 View commit details
    Browse the repository at this point in the history