← Back to team overview

savanna-all team mailing list archive

Re: [savanna-all] merging savanna-extra elements

 

Ivan,

Ok. I've gone through and successfully built and run an image using install.d on Fedora. Let me know if you still get the error using install.d. I hope it was just a transient issue.

FYI, I used DIB at f6cc6bb1.

Best,


matt

On 07/11/2013 11:02 AM, Ivan Berezovskiy wrote:
Matt,

install.d is good place to install packages (like java and hadoop) and
editing its configuration files. First scripts for Fedora was in
subdirectory install.d too, but during installation I got error related
to proc-trigger (input/output errors in proc-trigger). So I decided to
change subdirectory.
Regarding 70,80,90-... vs 11,12,13... This number is position of script
that runs in it subdirectory. All scripts of elements in the same
directories are sorted by number. So the values of these numbers are not
important, but all numbers should be unique within each subdirectories.

--
Thanks, Ivan


2013/7/10 Matthew Farrellee <matt@xxxxxxxxxx <mailto:matt@xxxxxxxxxx>>

    Ivan,

    $ tree elements/hadoop/install.d
    elements/hadoop/install.d
    |-- 70-setup-java
    |-- 80-setup-hadoop
    `-- 90-setup-ssh
    0 directories, 3 files

    $ tree elements/hadoop_fedora/post-__install.d
    elements/hadoop_fedora/post-__install.d
    |-- 11-setup-java
    |-- 12-setup-hadoop
    `-- 13-connection-setup
    0 directories, 3 files

    I want to align these two directory structures and filenames.

    install.d vs post-install.d, which is preferred?

    70,80,90-... vs 11,12,13-..., which is preferred?

    Best,


    matt

    --
    Mailing list: https://launchpad.net/~__savanna-all
    <https://launchpad.net/~savanna-all>
    Post to     : savanna-all@lists.launchpad.__net
    <mailto:savanna-all@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~__savanna-all
    <https://launchpad.net/~savanna-all>
    More help   : https://help.launchpad.net/__ListHelp
    <https://help.launchpad.net/ListHelp>





References